﻿//---------------------------------------------------------------------------
// <copyright file="HorizontalScrollViewer.cs" company="Microsoft Corporation">
//     Copyright (C) Microsoft Corporation.  All rights reserved.
// </copyright>
//---------------------------------------------------------------------------

namespace Microsoft.Windows.Controls.Ribbon
{
    using System.Windows;
    using System.Windows.Controls;

    /// <summary>
    ///   Defines a new ScrollViewer so that we can easily override its default style.
    /// </summary>
    public class HorizontalScrollViewer : ScrollViewer
    {
        /// <summary>
        ///   Initializes static members of the HorizontalScrollViewer class.
        /// </summary>
        static HorizontalScrollViewer()
        {
            DefaultStyleKeyProperty.OverrideMetadata(typeof(HorizontalScrollViewer), new FrameworkPropertyMetadata(typeof(HorizontalScrollViewer)));
        }
    }
}